package com.bainaeco.framework.exception;

import com.bainaeco.framework.base.exception.BaseException;
import com.bainaeco.framework.util.SQLErrorCode;

public class PrimaryKeyNotFoundException extends BaseException{

	private static final long serialVersionUID = 1L;

	public PrimaryKeyNotFoundException(Object... args) {
		super(args);
	}

	public PrimaryKeyNotFoundException(String message, Throwable cause, Object... args) {
		super(message, cause, args);
	}

	public PrimaryKeyNotFoundException(String message, Object... args) {
		super(message, args);
	}

	public PrimaryKeyNotFoundException(Throwable cause, Object... args) {
		super(cause, args);
	}
	
	@Override
	public int getErrorCode() {
		return SQLErrorCode.PRIMARY_KEY_NOT_FOUND;
	}

}
